package com.mall.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 秒杀优惠券表，与优惠券是一对一关系(TbSeckillVoucher)实体类
 *
 * @author makejava
 * @since 2023-05-27 20:13:33
 */
@Data
public class TbSeckillVoucher implements Serializable {
    private static final long serialVersionUID = -75933361816073502L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 代金券标题
     */
    private String title;
    /**
     * 抵扣金额
     */
    private Long actualValue;
    /**
     * 关联的优惠券的id
     */
    private Long voucherId;
    /**
     * 库存
     */
    private Integer stock;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 生效时间
     */
    private LocalDateTime beginTime;
    /**
     * 失效时间
     */
    private LocalDateTime endTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;





}

